/**
 * 
 */
package com.app.service.impl;

import org.apache.log4j.Logger;

import com.app.dao.ICornDbExcelDao;
import com.app.service.BaseService;
import com.app.service.ICornDBExcelService;
import com.app.service.vo.CornDbDnaExcelVo;

/**
 * @author Administrator
 *
 */
public class CornDBExcelServiceImpl extends BaseService implements ICornDBExcelService {

	/**
	 * 
	 */
	public CornDBExcelServiceImpl() {
		logger.info(this.getClass().getName()+" loader");
	}
	
	private static Logger logger = Logger.getLogger(CornDBExcelServiceImpl.class);
	
	private ICornDbExcelDao cornDnaExceldao;

	@Override
	public String saveDANExcelVo(CornDbDnaExcelVo vo) {
		return this.cornDnaExceldao.saveCornDbDnaExcelVo(vo);
	}

	public ICornDbExcelDao getCornDnaExceldao() {
		return cornDnaExceldao;
	}

	public void setCornDnaExceldao(ICornDbExcelDao cornDnaExceldao) {
		this.cornDnaExceldao = cornDnaExceldao;
	}

	@Override
	public CornDbDnaExcelVo getById(String id) {
		
		return this.cornDnaExceldao.getById(id);
	}

	@Override
	public int statByParam(String sql) {
		return this.cornDnaExceldao.statByParam(sql);
	}

}
